package com.mspbots.core.wise.model;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.node.ObjectNode;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName(autoResultMap = true)
public class TenantRule extends TenantEntity {

    private Long ruleId;
    private Boolean enable;
    private Boolean sending;
    private Boolean escalation;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private ObjectNode ruleParams;
    private String template;

}
